package com.zzu.model;

/**
 * 学生类
 */
public class Student {
    private String sId;
    private String sPassword;
    private String sName;
    private String sSex;
    private String sSpeciality;
    private String sDepartment;
    private String sEnrollYear;
    private String clId;//班级id
    private String clName;//班级名
    private String mId;
    private String coName;
    private int credit;//学分

    public Student() {}

    public Student(String sId, String sPassword, String sName, String sSex, String sSpeciality, String sDepartment, String sEnrollYear, String clId, String mId) {
        this.sId = sId;
        this.sPassword = sPassword;
        this.sName = sName;
        this.sSex = sSex;
        this.sSpeciality = sSpeciality;
        this.sDepartment = sDepartment;
        this.sEnrollYear = sEnrollYear;
        this.clId = clId;
        this.mId = mId;
    }

    public String getmId() {
        return mId;
    }

    public void setmId(String mId) {
        this.mId = mId;
    }

    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId;
    }

    public String getsPassword() {
        return sPassword;
    }

    public void setsPassword(String sPassword) {
        this.sPassword = sPassword;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getsSex() {
        return sSex;
    }

    public void setsSex(String sSex) {
        this.sSex = sSex;
    }

    public String getsSpeciality() {
        return sSpeciality;
    }

    public void setsSpeciality(String sSpeciality) {
        this.sSpeciality = sSpeciality;
    }

    public String getsDepartment() {
        return sDepartment;
    }

    public void setsDepartment(String sDepartment) {
        this.sDepartment = sDepartment;
    }

    public String getsEnrollYear() {
        return sEnrollYear;
    }

    public void setsEnrollYear(String sEnrollYear) {
        this.sEnrollYear = sEnrollYear;
    }

    public String getClId() {
        return clId;
    }

    public void setClId(String clId) {
        this.clId = clId;
    }

    public String getClName() {
        return clName;
    }

    public void setClName(String clName) {
        this.clName = clName;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sId='" + sId + '\'' +
                ", sPassword='" + sPassword + '\'' +
                ", sName='" + sName + '\'' +
                ", sSex='" + sSex + '\'' +
                ", sSpeciality='" + sSpeciality + '\'' +
                ", sDepartment='" + sDepartment + '\'' +
                ", sEnrollYear='" + sEnrollYear + '\'' +
                ", clId='" + clId + '\'' +
                ", clName='" + clName + '\'' +
                ", mId='" + mId + '\'' +
                ", coName='" + coName + '\'' +
                ", credit=" + credit +
                '}';
    }
}
